/*
 * Copyright [duowan.com]
 * Web Site: http://www.duowan.com
 * Since 2005 - 2014
 */

package com.duowan.realtime.dao;

import java.util.List;

import com.duowan.common.util.page.Page;
import com.duowan.realtime.model.OverviewBloomfilter;
import com.duowan.realtime.query.OverviewBloomfilterQuery;

/**
 * tableName: overview_bloomfilter
 * [OverviewBloomfilter] 的Dao操作
 * 
 * @author badqiu email:badqiu(a)gmail.com
 * @version 1.0
 * @since 1.0
*/
public interface OverviewBloomfilterDao {
	
	public void insert(OverviewBloomfilter entity);
	
	public int update(OverviewBloomfilter entity);

	public int deleteById(String bloomfilterGroup, String bloomfilterName, String partition);
	
	public OverviewBloomfilter getById(String bloomfilterGroup, String bloomfilterName);
	
	public List<OverviewBloomfilter> getByBloomFilterGroup(String bloomfilterGroup);
	
	public List<OverviewBloomfilter> getByServerIp(String serverIp);
	
	public List<OverviewBloomfilter> getAll();
	
	public Page<OverviewBloomfilter> findPage(OverviewBloomfilterQuery query);
	
	
}
